//
//  WWInterfaceConst.m
//  WWNetworkHelper
//
//  Created by swift on 2017/7/28.
//  Copyright © 2017年 王家伟. All rights reserved.
//

#import "WWInterfaceConst.h"

/* ---  服务器使用判断  --- */
//#if DevelopSever
///** 接口前缀-开发服务器*/
//NSString *const kApiPrefix = @"http://192.168.0.217/code/public/";
//#elif UATSever
///** 接口前缀-测试服务器*/
NSString *const kApiPrefix = @"http://www.quanjieshop.com/index.php/Api/";

//// @"http://api.quanjieshop.com/"
//#elif ProductSever
///** 接口前缀-生产服务器*/
//NSString *const kApiPrefix = @"http://api.quanjieshop.com/";
//#endif


/* ---  二级接口定义  --- */
/** 登录*/
NSString *const kLogin = @"user/do_login";
NSString *const kHome  = @"AppApi/appindex";
NSString *const kCityList = @"AppApi/getAreaList";
NSString *const kGetUserType = @"shop/getShopStatus";
NSString *const kVerificationCode = @"AppApi/send_validate_code";
NSString *const kRegister = @"user/reg";
NSString *const kPasswordReset = @"user/password";
NSString *const kGetGoodsDetail = @"AppGoods/goodsInfo";
NSString *const kAddCollect = @"AppUser/collect_goods";
NSString *const kDeleteCollect = @"AppUser/del_goods_collect" ;
NSString *const kAddCart = @"AppCart/ajaxAddCart";
NSString *const kUpdateShoppingCart = @"AppCart/changeselect";

NSString *const kGetGoodsList = @"AppGoods/goodsList";
NSString *const kGetOrderInfo = @"AppCart/cart2";
NSString *const kForgotPassword = @"user/forgot";
NSString *const kCreateOrder = @"AppCart/cart3";
NSString *const kBalance = @"user/user/payment3";
NSString *const kAliPay = @"home/pay2/aliPay";
NSString *const kWxpay = @"home/wxpay2/wxpay";
NSString *const kUploadImage = @"uploadify/imageup";
NSString *const kOpenShop = @"shop/openshop";
NSString *const kBalanceCode = @"user/user/payment";
NSString *const kAliPayCode = @"home/pay/aliPay";
NSString *const kWxpayCode = @"home/wxpay/wxpay";
NSString *const kBalanceMoney = @"user/user/payment2";
NSString *const kAliPayMoney = @"home/pay3/aliPay";
NSString *const kWxpayMoney = @"home/wxpay3/wxpay";

NSString *const kGetShopList = @"AppApi/getNearShopList";
NSString *const kCklsList = @"user/incomelog";
NSString *const kFhzsList = @"user/user/fhzsList";
NSString *const kEditBankCard = @"user/user/editBankCard";
NSString *const kAddBankCard = @"user/user/addBankCard";
NSString *const kGetNormalUser = @"user/user/getNormalUser";
NSString *const kGetMake = @"user/user/getMake";
NSString *const kGetShopUser = @"user/user/getShopUser";

NSString *const kGetShopType = @"AppApi/get_category_tree";
NSString *const kCartList = @"AppCart/index";
NSString *const kDeleteCart = @"AppCart/delete";
NSString *const kModifyGoodsAmount = @"AppCart/changeNumOK";
NSString *const kModifyGoodsSelectedState = @"AppCart/changesele";

NSString *const kModifyShopSelectedState = @"AppCart/changeshopsele";

NSString *const kModifyShoppingCartAllState = @"AppCart/changeallsele";
NSString *const kGetCategory = @"home/index/getCategory";
NSString *const kGetNearShop = @"home/index/getNearShop";
NSString *const kAreacommit  = @"AppApi/areacommit";
NSString *const kGetShopDetail = @"AppApi/getShopDetail";
NSString *const kApplyForMake = @"user/applyForMake";
NSString *const kLogout = @"user/logout";
NSString *const kModifyProfile = @"user/info";

NSString *const kGetAddressList = @"AppUser/address_list";
NSString *const kDeleteAddress = @"AppUser/del_address";
NSString *const kSetDefaultAddress = @"AppUser/set_default";
NSString *const kGetOneAddress = @"user/address/getOneAddress";

NSString *const kAddAddress = @"AppUser/add_address";

NSString *const kEditAddress = @"AppUser/edit_address";

NSString *const kMyEarnings = @"user/profit";
NSString *const kGetMyshopRecord = @"order/offlineorder";
NSString *const kGetUserRecord =@"AppUser/userofflineorder";
NSString *const kSqtx = @"order/applymoney";
NSString *const kSqtxList = @"user/txlog";
NSString *const kGetCollectList = @"AppUser/goods_collect";
NSString *const kGetBankCard = @"user/user/getBankCard";
NSString *const kSetDefaultBankCard = @"user/user/setDefaultBankCard";
NSString *const kDeleteBankCard = @"user/user/deleteBankCard";
NSString *const kGetOrderList = @"order/order_list";
NSString *const kChangePassword = @"user/password";
NSString *const kGetMyReferral = @"AppUser/getMyReferral";
NSString *const kUserInfo = @"user/info";
NSString *const kShopRegister = @"AppUser/link_shop_add";
NSString *const kBrowseRecords = @"AppUser/visit_log";

NSString *const kLogisticsNum = @"Appother/order_shipping";
NSString *const kLogisticsInfo = @"Appother/send_shipping";
NSString *const kCancelOrder = @"order/cancel_order";
NSString *const kDeleteOrder = @"order/del_order";
NSString *const kConfirmOrder = @"order/order_confirm";

NSString *const kIntegralArea = @"AppApi/points_index";
NSString *const kShopkeeperOrder = @"shop/orderlist";
NSString *const kPayOffLine = @"AppCart/under_line_to_order";
NSString *const kPayOffLinePayType = @"AppPayment/getCode";


NSString *const kMineCenterOrderDetail = @"/home/AppOrder/order_detail";
NSString *const kPayOrder = @"AppPayment/getCode";
NSString *const kUpdateShopAddress = @"ShopApi/UpdateShopaddress";
NSString *const kShopMess = @"ShopApi/ShopMess";
NSString *const kEditShop = @"shop/updateShop";
NSString *const kUploadImg = @"uploadify/imgUp";
NSString *const kModifyApay = @"Api/order/bindcard";
NSString *const kApplyFormaker =@"user/applyformaker";
NSString *const KAppUserGetMake = @"AppUser/getMake";
NSString *const KOrderDetail = @"order/order_detail";//订单-订单详情
NSString *const KOrderBindcard = @"order/bindcard";//查看绑定账户
